@echo off

set _JAR=D:\_USB\Program\java\jdk1.6.0_45\bin\jar

if exist "!0_Manifest.cmd" goto ok
echo Error - FILE NOT FOUND:  "!0_Manifest.cmd"
goto end
:ok

:cont_dist
if NOT exist "dist\Chem_Diagr_Help.jar" goto no_dist
echo.
@echo Adding "helpset" information to the manifest in:  dist\Chem_Diagr_Help.jar
%_JAR% uvfm dist\Chem_Diagr_Help.jar Manifest.txt
:no_dist
if NOT exist "store\Chem_Diagr_Help.jar" goto end
echo.
@echo Adding "helpset" information to the manifest in:  store\Chem_Diagr_Help.jar
%_JAR% uvfm store\Chem_Diagr_Help.jar Manifest.txt
:end
echo.
@pause
